
#include "precompiled.h"
#include "inputdata.h"

class InputDataPrivate{
	public:
		InputDataPrivate() {}
		~InputDataPrivate() {}
		InputData::InputContext ictx;
};

QString InputData::ID = InputData::staticMetaObject.className();

QScriptValue InputData::construct_Script(QScriptContext *context, QScriptEngine *engine)
{
	return engine->newQObject(new EntityObject(0));
}

//QScriptValue InputData::ToScriptValue(QScriptEngine *engine, InputData* const &in)
// { return engine->newQObject(in); }

// void InputData::FromScriptValue(const QScriptValue &object, InputData* &out)
// { out = qobject_cast<InputData*>(object.toQObject()); }


InputData::InputData(InputContext ic) :
		Opl::Core::EntityObject(0), O_PRIVATE_CREATE(InputData)
{
	O_D(InputData);
	d->ictx = ic;
}

InputData::~InputData()
{
	O_PRIVATE_DELETE;
}

QString InputData::string()
{
	O_D(InputData);
	return "1234";
}
